ga.view.interfaces
Interface IPhenotypeGenerator<T extends IIndividual<T>,N extends com.jme3.scene.Spatial>

Type Parameters:
T - The generic type of individuals.
N - The generic type of phenotypes (JME spatials).
All Known Implementing Classes:
FurnLayoutPhenotypeGenerator, SimpleObjectPhenotypeGenerator

public interface IPhenotypeGenerator<T extends IIndividual<T>,N extends com.jme3.scene.Spatial>

Interface for a phenotype generator. This is the decoder function that creates phenotypes from genotypes.

Since:
11.08.2012
Author:
Stephan Dreyer

Method Summary
 N createPhenotype(T individual)
          Creates a phenotype from a genotype.
 void setAssetManager(com.jme3.asset.AssetManager assetManager)
          Setter for the asset manager.
 

Method Detail

createPhenotype

N createPhenotype(T individual)
Creates a phenotype from a genotype. (Decode function)

Parameters:
individual - Individual that contains the genotype.
Returns:
Phenotype as JME spatial.
Since:
11.08.2012

setAssetManager

void setAssetManager(com.jme3.asset.AssetManager assetManager)
Setter for the asset manager.

Parameters:
assetManager - The asset manager.
Since:
11.08.2012